home *** CD-ROM | disk | FTP | other *** search
/ OctaMED Sound Studio 1 / OctaMED SoundStudio V1.iso / soundstudio v1 / programmers / libproto.h < prev    next >
C/C++ Source or Header  |  1996-06-18  |  4KB  |  107 lines

  1. #ifndef NO_PRAGMAS
  2. /* prototypes for medplayer.library V2.0 - V7.0*/
  3. #pragma libcall MEDPlayerBase GetPlayer 1e 001
  4. #pragma libcall MEDPlayerBase FreePlayer 24 0
  5. #pragma libcall MEDPlayerBase PlayModule 2a 801
  6. #pragma libcall MEDPlayerBase ContModule 30 801
  7. #pragma libcall MEDPlayerBase StopPlayer 36 0
  8. /*#pragma libcall MEDPlayerBase DimOffPlayer 3c 001*/
  9. #pragma libcall MEDPlayerBase SetTempo 42 001
  10. #pragma libcall MEDPlayerBase LoadModule 48 801
  11. #pragma libcall MEDPlayerBase UnLoadModule 4e 801
  12. #pragma libcall MEDPlayerBase GetCurrentModule 54 0
  13. #pragma libcall MEDPlayerBase ResetMIDI 5a 0
  14. /* functions below in V2.00 or later*/
  15. #pragma libcall MEDPlayerBase SetModnum 60 001
  16. #pragma libcall MEDPlayerBase RelocModule 66 801
  17. /* functions below in V7.00 or later*/
  18. #pragma libcall MEDPlayerBase RequiredPlayRoutine 6c 801
  19. #pragma libcall MEDPlayerBase FastMemPlayRecommended 72 801
  20. #pragma libcall MEDPlayerBase LoadModule_Fast 78 801
  21. #pragma libcall MEDPlayerBase SetFastMemPlay 7e 1002
  22.  
  23. /* prototypes for OctaPlayer.library */
  24. #pragma libcall OctaPlayerBase GetPlayer8 1E 0
  25. #pragma libcall OctaPlayerBase FreePlayer8 24 0
  26. #pragma libcall OctaPlayerBase PlayModule8 2A 801
  27. #pragma libcall OctaPlayerBase ContModule8 30 801
  28. #pragma libcall OctaPlayerBase StopPlayer8 36 0
  29. #pragma libcall OctaPlayerBase LoadModule8 3C 801
  30. #pragma libcall OctaPlayerBase UnLoadModule8 42 801
  31. #pragma libcall OctaPlayerBase SetModnum8 48 001
  32. #pragma libcall OctaPlayerBase RelocModule8 4E 801
  33. #pragma libcall OctaPlayerBase SetHQ 54 1
  34. /* functions below in V7.00 or later*/
  35. #pragma libcall OctaPlayerBase RequiredPlayRoutine8 5a 801
  36. #pragma libcall OctaPlayerBase FastMemPlayRecommended8 60 801
  37. #pragma libcall OctaPlayerBase LoadModule_Fast8 66 801
  38. #pragma libcall OctaPlayerBase SetFastMemPlay8 6c 1002
  39.  
  40. /* prototypes for octamixplayer.library V7*/
  41. #pragma libcall OctaMixPlayerBase GetPlayerM 1e 0
  42. #pragma libcall OctaMixPlayerBase FreePlayerM 24 0
  43. #pragma libcall OctaMixPlayerBase PlayModuleM 2a 801
  44. #pragma libcall OctaMixPlayerBase ContModuleM 30 801
  45. #pragma libcall OctaMixPlayerBase StopPlayerM 36 0
  46. #pragma libcall OctaMixPlayerBase LoadModule_FastM 3c 801
  47. #pragma libcall OctaMixPlayerBase UnLoadModuleM 42 801
  48. #pragma libcall OctaMixPlayerBase SetModnumM 48 001
  49. #pragma libcall OctaMixPlayerBase RelocModuleM 4e 801
  50. #pragma libcall OctaMixPlayerBase RequiredPlayRoutineM 54 801
  51. #pragma libcall OctaMixPlayerBase Set14BitMode 5a 001
  52. #pragma libcall OctaMixPlayerBase SetMixingFrequency 60 001
  53. #pragma libcall OctaMixPlayerBase SetMixBufferSize 66 001
  54.  
  55. #endif
  56. /* prototypes */
  57. LONG GetPlayer(UWORD midi);
  58. void FreePlayer(void);
  59. void PlayModule(struct MMD0 *module);
  60. void ContModule(struct MMD0 *module);
  61. void StopPlayer(void);
  62. /* void DimOffPlayer(UWORD length); */
  63. void SetTempo(UWORD tempo);
  64. struct MMD0 *LoadModule(char *name);
  65. void UnLoadModule(struct MMD0 *module);
  66. struct MMD0 *GetCurrentModule(void);
  67. void ResetMIDI(void);
  68. void SetModnum(UWORD modnum);
  69. void RelocModule(struct MMD0 *module);
  70. ULONG RequiredPlayRoutine(struct MMD0 *module);
  71. ULONG FastMemPlayRecommended(struct MMD0 *module);
  72. struct MMD0 *LoadModule_Fast(char *name);
  73. void SetFastMemPlay(ULONG newstate,ULONG buffsize);
  74.  
  75. /* for octaplayer.library */
  76. LONG GetPlayer8(void);
  77. void FreePlayer8(void);
  78. void PlayModule8(struct MMD0 *module);
  79. void ContModule8(struct MMD0 *module);
  80. void StopPlayer8(void);
  81. struct MMD0 *LoadModule8(char *name);
  82. void UnLoadModule8(struct MMD0 *module);
  83. void SetModnum8(UWORD modnum);
  84. void RelocModule8(struct MMD0 *module);
  85. void SetHQ(LONG hq);
  86. ULONG RequiredPlayRoutine8(struct MMD0 *module);
  87. ULONG FastMemPlayRecommended8(struct MMD0 *module);
  88. struct MMD0 *LoadModule_Fast8(char *name);
  89. void SetFastMemPlay8(ULONG newstate,ULONG buffsize);
  90.  
  91. /* for octamixplayer.library */
  92. LONG GetPlayerM(void);
  93. void FreePlayerM(void);
  94. ULONG PlayModuleM(struct MMD0 *module);
  95. void ContModuleM(struct MMD0 *module);
  96. void StopPlayerM(void);
  97. struct MMD0 *LoadModule_FastM(char *name);
  98. void UnLoadModuleM(struct MMD0 *module);
  99. void SetModnumM(UWORD modnum);
  100. void RelocModuleM(struct MMD0 *module);
  101. ULONG RequiredPlayRoutineM(struct MMD0 *module);
  102. void Set14BitMode(ULONG newmode);
  103. void SetMixingFrequency(ULONG newfreq);
  104. void SetMixBufferSize(ULONG newbuffsize);
  105.  
  106. #define OCTAPLR_LIB_PROTOS 1
  107.